package com.example.droideep.fragment.pager;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import com.example.droideep.BuildConfig;
import com.example.droideep.R;

/**
 * @author bri
 * @date 15-5-19.
 */
public class ItemView extends IItemView {

    @Override
    public void init(LayoutInflater inflater, ViewGroup container) {
        textView = new TextView(inflater.getContext());
    }

    @Override
    public View getView() {
        return textView;
    }

    @Override
    public void setText(String text) {
        textView.setText(text);
    }
}
